<%@tag description="put the tag description here" pageEncoding="UTF-8"%>
<%@ include file="/taglibs.jsp" %>
<%@attribute name="page" required="false"%>
<%@attribute name="title" required="true"%>
<%@ attribute name="headers" fragment="true" %>
<%@ attribute name="upperRight" fragment="true" %>
<%@attribute name="section" required="false"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
    <head>
        <t:header title="${title}"/>
        <jsp:invoke fragment="headers"/>
    </head>
    <body>
        <div id="header">
            <div id="titleSection">
                <t:pageheader title="${title}"/>
            </div>
        </div>
        <div id="contentWrap">
            <div id="contentPanel">
                
                <c:choose>
                    <c:when test="${!empty page}">
                        <t:tabs page="${page}" section="${section}"/>
                    </c:when>
                    <c:otherwise>
                        <hr width="100%" color="#A9A9A9" style="height: 1px;">
                    </c:otherwise>
                </c:choose>
                <div id="pageContent">
                    <!--<div class="sectionTitle">${title}</div>-->
                    <table width="100%">
                        <tr>
                            <td>
                                <div class="sectionTitle">${title}</div>
                            </td>
                            <jsp:invoke fragment="upperRight"/>
                        </tr>
                    </table>
                    <jsp:doBody/>
                </div>
            </div>
        </div>
        <t:pagefooter/>
    </body>
</html>
